Ext.define('Hr.view.cardinfo.NameGrid',{
    extend:'Ext.panel.Panel',
    alias:'widget.namegrid',
    width:"20%",
    height:'100%',
    title:'持证人员一览',
    items:[{
        xtype:'grid',
        width:'100%',
        heigth:'100%',
        border:false,
        flex:1,
        id:'nameGrid',
        store:'cardinfo.NameStore',
        columns:[{
            header:'id',
            flex:1,
            hidden:true,
            dataIndex:'id'
        },{
            header:'姓名',
            flex:1,
            dataIndex:'name'
        }],
        tbar:[{
            xtype:'textfield',
            id:'nametext'
        },{
            icon:'../image/icons/search.png',
            text:'搜寻',
            action:'search'
        }]
    }]
})